<script setup>
import router from "@/router/router.js";

// 404页面

function go() {
  router.push('/user/index');
}
</script>

<template>
  <div class="moon">
    <nav class="nav1">404</nav>
    <div class="button">
      <el-button @click="go" color="#568fc1" size="large" plain>
        前 往 首 页
      </el-button>
    </div>
  </div>
</template>

<style scoped>
.moon {
  height: 100vh;
  background-image: url("@/assets/moon.png");
  background-size:100% 100%;
  background-attachment:fixed;
}
.nav1 {
  text-align: center;
  font-size: 80px;
  color: #e4f7fb;
  border-bottom: 3px solid #e4f7fb;
}
.button {
  margin-top: 10px;
  text-align: center;
}
.el-button {
  font-size: 16px;
}
</style>